package com.habdqn.filght.information.service;

import com.habdqn.filght.information.entity.Flight;
import com.habdqn.filght.information.entity.FlightTicket;

import java.util.Date;
import java.util.List;

/**
 * @author Xing.Jiejian
 * @date 2020/11/23
 */
public interface FlightService {

    /**
     *
     * @param date
     * @param takeCityName
     * @param landingCityName
     * @return
     */
    List<Flight> find(Date date, String takeCityName, String landingCityName);

    /**
     *
     * @param id
     * @return
     */
    List<FlightTicket> findByFlightId(int id);
}
